import { joinUrl } from './urlUtil'

export function navigateTo (url, params = null) {
  uni.navigateTo({
    url: joinUrl(url, params)
  })
}